const mode = import.meta?.env?.MODE || process.env.NODE_ENV || 'development';

const config = {
  development: 'http://127.0.0.1:5000/api',
  test: 'https://test-api.example.com',
  staging: 'https://staging-api.example.com',
  production: 'https://api.example.com'
};

export default config[mode] || config.development;